package com.zjm.lock.semaphore;

import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.Semaphore;

/**
 * 信号量的使用示例
 */
public class SemaphoreUseCase {
    public static void main(String[] args) {
        byte b1 = -128;
        byte b2 = (byte)0x80;
        System.out.println(b1 == b2);

    }
}
